import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import SvgIcon from '@/components/SvgIcon'

export default {
  install: (app) => {
    // svg图标
    app.component('SvgIcon', SvgIcon)
    // 图标
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component)
    }
  },
};
